package com.ruoyi.system.service.vantservice.galleryservice;

import com.ruoyi.system.domain.gallery.GalleryCase;
import com.ruoyi.system.domain.gallery.GalleryComment;
import com.ruoyi.system.domain.gallery.GalleryInfo;
import com.ruoyi.system.domain.gallery.GalleryOriginal;

import java.util.List;

public interface ApiGalleryService {

    /**
     * 根据图库类别查询图库列表
     * @param galleryInfoType
     * @return
     */
    public List<GalleryInfo> selectGalleryInfoListByType(String galleryInfoType);

    /**
     * 根据ID查询图库信息
     * @param galleryInfoId
     * @return
     */
    public GalleryOriginal selectGalleryInfoById(Long galleryInfoId);

    /**
     * 查询案例说明列表
     * @param galleryOriginalId
     * @return
     */
    public List<GalleryCase> selectGalleryCasesList(Long galleryOriginalId);

    /**
     * 根据ID查询图库信息评论
     * @param galleryInfoId
     * @return
     */
    public List<GalleryComment> selectGalleryComment(Long galleryInfoId);

    /**
     * 添加图库评论信息
     * @param galleryComment
     * @return
     */
    public int addGalleryComment(GalleryComment galleryComment);

    List<GalleryInfo> selectGalleryInfoListByTypeOne(GalleryInfo galleryInfo);

    List<GalleryInfo> selectGalleryInfoListByTypeTwo(GalleryInfo galleryInfo);

    List<GalleryInfo> selectGalleryInfoListByTypeThree(GalleryInfo galleryInfo);
}
